# -*- coding: UTF-8 -*-
"""
@author: tgy
@file: 8.5 在类中封装属性名.py
@time: 2021/02/11
"""


class Person:
    ...

    def __init__(self):
        # 使用下划线开始的属性
        self._name = '1223'
        self._age = 21


if __name__ == '__main__':
    pass
